package com.hyj.dev.res.proxy.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.http.HttpStatus;

import java.io.File;
import java.io.InputStream;

/**
 * 资源响应
 * @author HeYuJie
 * @date 2024/1/2
 */
@Setter
@Getter
public class ResourceResponse {

    private HttpStatus state = HttpStatus.NO_CONTENT;

    private InputStream data;

    private String contentType;
    private File localFile;

}
